﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dispose.aspx.cs" Inherits="HHWeb.SystemManage.DownLoadCodes.Dispose" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>后台管理-<%=Command=="Add"?"添加":"修改" %>下载码管理</title>
<link href="../../Css/backCommon.css" rel="stylesheet" type="text/css" />
<script src="../../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input type="hidden" id="Command" name="Command" value="<%=Command %>" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="30px" background="../../images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12px" height="30px"><img src="../../images/tab_03.gif" width="12px" height="30px"/></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="../../images/tb.gif" width="16px" height="16px" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[下载码管理]-[<%=Command =="Add"?"添加":"修改"%>下载码]</td>
              </tr>
            </table></td>
            <td width="54%">&nbsp;</td>
          </tr>
        </table></td>
        <td width="16px"><img src="../../images/tab_07.gif" width="16px" height="30px" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8px" background="../../images/tab_12.gif">&nbsp;</td>
        <td>
    <%--Submit数据区头--%>
    <table id="EditArea" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td><span>下载中心编号：</span></td><td><input type="text" id="DowncodeNumber" readonly="readonly" name="DowncodeNumber"  class="TextCommon" style="width:147px;" value="<%=DowncodeNumber %>"/></td></tr>
    <tr><td><span><font color="red">*</font>下载码：</span></td><td><input type="text" id="Downcode" readonly="readonly" name="Downcode" class="TextCommon" style="width:147px;" value="<%=Downcode %>"/></td></tr>
    <tr><td><span><font color="red">*</font>是否已用：</span></td><td>
    <input type="radio" id="Radio1" name="IfUse" class="Common" value="1" <%=IfUse==1?"checked=checked":"" %>/>是
    <input type="radio" id="Radio2" name="IfUse" class="Common" value="0" <%=IfUse==0?"checked=checked":"" %>/>否
    </td></tr>
    <tr><td><span>下载码过期时间：</span></td><td><input type="text" id="Expiration" readonly="readonly"  onfocus="new WdatePicker(this,'%Y-%M-%D %h:%m:%s',true)" name="Expiration" class="TextCommon" value="<%=Expiration %>"/></td></tr>
    <tr><td><span>状态：</span></td><td> 
    <input type="radio" id="Status1" name="Status" class="Common" value="1" <%=Status==1?"checked=checked":"" %> />激活
    <input type="radio" id="Status0" name="Status" class="Common" value="0" <%=Status==0?"checked=checked":"" %>/>未激活
    </td></tr>
    <tr><td><span>添加时间：</span></td><td><input type="text" id="AddTime" name="AddTime"  class="TextCommon" style="width:147px;" readonly="readonly" value="<%=AddTime %>"/></td></tr>
    <tr><td>&nbsp;</td><td><input type="button" id="BTSubmit" name="BTSubmit"  class="Common" value="确定" /><input type="button" onclick="javascript:history.go(-1)"  class="Common" value="返回"/></td></tr>
    </table>
     <%--Submit数据区尾--%>
        </td>
        <td width="8px" background="../../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35px" background="../../images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12px" height="35px"><img src="../../images/tab_18.gif" width="12px" height="35px" /></td>
        <td>
        <%--分页区头--%>
        <%--分页去尾--%>
        </td>
        <td width="16px"><img src="../../images/tab_20.gif" width="16px" height="35px" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
    <script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../../JS/FormCommon.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#BTSubmit").click(function () {
                if ($("#DowncodeNumber").val() == "" && $("#DowncodeNumber").val()==null) {
                    alert("下载中心编号不能为空！");
                    $("#DowncodeName").focus();
                    return;
                }
                $("#form1").attr("method", "POST");
                $("#form1").submit();
            })
            $("#BTCancel").click(function () {
            
            })
        })
    </script>
</body>
</html>